package com.niodata.dp.core.resource;

/**
 * resource type based resource resolver. each concrete resolver should extend
 * AbstractResourceDetailResolver, so CombinedResourceDetailResolverFactoryBean could detect them at
 * runtime.
 */
public interface ResourceDetailResolver {

  ResourceDetail resolve(Resource resource);

  boolean supportResourceType(Class<? extends ResourceType> clazz);
}
